//import { login, logout, getInfo } from '@/api/apis.js'


// 定义数据变量
const user = {
  state: {
    dialogFormVisibleTest: false,
  },


  // 同步更新数据
  mutations: {
    changeUploadDialogVisableMutations: (state, visiable) => {
      state.dialogFormVisibleTest = visiable
      //console.log("改变上传弹窗的状态===" + visiable +"  "+ state.dialogFormVisibleTest )
    }
  },

  // 异步提交 mutation
  actions: {

    changeUploadDialogVisableAction({ commit }, visiable) {
      return new Promise((resolve, reject) => {
        commit('changeUploadDialogVisableMutations', visiable)
        resolve()
      })
    },

  }  // actions
}

export default user


